import router from '@system.router'

var picker1value = null;
var picker2value = null;

export default {
    data: {
        pick1range: ["1", "2", "3"],
        pick2range: ["较慢", "舒缓", "较快"]
    },
    clickAction() {
        router.replace({
            uri: 'pages/daojishi/daojishi',
            params: {
                "picker1value": picker1value,
                "picker2value": picker2value
            }
        })
    },
    changeAction1(pv) {
        console.log(pv.newValue)
        picker1value = pv.newValue;
    },
    changeAction2(pv) {
        console.log(pv.newValue);
        picker2value = pv.newValue;
    },
    onInit() {
        console.log("index init");
    },
    onReady() {
        console.log("index ready");
    },
    onShow() {
        console.log("index show");
    },
    onDestroy() {
        console.log("index destroy");
    }
}
